TransformRgn
TheTransformRgn
function allows your application to apply a specified matrix to a region.
pascal OSErr TransformRgn (MatrixRecordPtr mp, RgnHandle r);
mp
- Points to the matrix for this operation. The
TransformRgn
function currently supports only translating and scaling operations.r
- Specifies the region to be transformed. The
TransformRgn
function transforms each point in the region according to the contents of the specified matrix.ERROR CODES
Memory Manager errors